package ru.yermak.bookkeeping.ui;

import org.jdesktop.swingx.JXTaskPaneContainer;
import org.jdesktop.swingx.JXTaskPane;

import java.util.List;

/**
 * User: harrier
 * Date: Dec 22, 2008
 * Time: 12:23:46 AM
 */
public class BTaskPanel extends JXTaskPaneContainer {

    private List<BTaskGroup> taskPanes;

    public void init() {
        for (JXTaskPane taskPane : taskPanes) {
            add(taskPane);
        }

    }

    public void setTaskPanes(List<BTaskGroup> taskPanes) {
        this.taskPanes = taskPanes;
    }
}
